﻿using Microsoft.Xna.Framework;

namespace HurlBat.XEdit2D
{
    public class Frame
    {
        string textureFullName = string.Empty;
        /// <summary>
        /// The name of the texture used for this frame.
        /// </summary>
        public string TextureFullName
        {
            get { return textureFullName; }
            set { textureFullName = value; }
        }

        Rectangle location = Rectangle.Empty;
        /// <summary>
        /// The location of the frame in the texture
        /// </summary>
        public Rectangle Location
        {
            get { return location; }
            set { location = value; }
        }

        public Frame(string _textureName, Rectangle _location)
        {
            textureFullName = _textureName;
            location = _location;
        }
    }
}
